﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;

namespace B.S.SmartStorPro.Domain
{
    /// <summary>
    /// 期初表
    /// </summary>
    public class InitialInventory
    {
        /// <summary>
        ///   日期       --主键
        /// </summary>
      
        [SugarColumn(IsPrimaryKey = true, ColumnName = "Date")]
        public DateOnly Date { get; set; }

        /// <summary>
        /// 仓库--外键
        /// </summary>
        
        public int WarehouseId { get; set; }
        /// <summary>
        /// 期初
        /// </summary>

        public int? BeginningNum {  get; set; }
        /// <summary>
        /// 期末
        /// </summary>
        public  int? FinalNum {  get; set; }
        /// <summary>
        /// 是否删除(1-删除 0正常)
        /// </summary>
        public bool IsDelete { get; set; }


    }
}
